package com.tbit.uqbike.push.service.impl;

import com.tbit.uqbike.push.dao.core.GeoDao;
import com.tbit.uqbike.push.pojo.Geo;
import com.tbit.uqbike.push.service.GeoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("geoService")
public class GeoServiceImpl implements GeoService {
    @Autowired
    private GeoDao geoDao;

    @Override
    public Geo getByGeoId(Integer geoId) {
        return geoDao.getByGeoId(geoId);
    }

    @Override
    public List<Geo> getAll() {
        return geoDao.getAll();
    }

    @Override
    public List<Geo> getByUpdateTime(String updateTime) {
        return geoDao.getByUpdateTime(updateTime);
    }

}  